package com.study.dao;

import com.study.pojo.Account;

/**
 * @author Qi XueSong
 */
public interface AccountDao {

    /**
     * 根据卡号查询账户信息
     */
    Account queryAccountByCardNo(String cardNo) throws Exception;

    /**
     * 更新账户金额信息
     */
    int updateAccountByCardNo(Account account) throws Exception;
}
